package com.nova.scenic.projectlibs.util;

import android.graphics.PixelFormat;
import android.view.Gravity;
import android.view.WindowManager;
import android.view.WindowManager.LayoutParams;

public class WindowManagerLayoutParams extends LayoutParams{

	
	public WindowManagerLayoutParams() {
		
	}



	public void setDefaultValue(){
		format = PixelFormat.RGBA_8888;
		width = LayoutParams.WRAP_CONTENT;
		height = LayoutParams.WRAP_CONTENT;
		
		flags = LayoutParams.FLAG_NOT_FOCUSABLE

		 | LayoutParams.FLAG_LAYOUT_IN_SCREEN 
		 | LayoutParams.FLAG_LAYOUT_NO_LIMITS
		;

        gravity = Gravity.TOP |Gravity.LEFT;



//        lp.flags = 0
//                | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING
//                | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
//                | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
//                | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
//                | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH;
//                | LayoutParams.FLAG_KEEP_SCREEN_ON



//		type = LayoutParams.TYPE_INPUT_METHOD
//		type = LayoutParams.TYPE_APPLICATION_PANEL;
//		type = LayoutParams.TYPE_PHONE;
	}
	
}
